﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>忘记密码 - {site.Name}</title>
<script type="text/javascript" src="{site.Dir}_data/SysConfig.js"></script>
<script type="text/javascript" src="{site.Dir}_libs/jquery-min.js"></script>
<script type="text/javascript" src="{site.Dir}_libs/jquery.form.js"></script>
<script type="text/javascript" src="{site.Dir}scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="{site.Dir}style/global.css" />
<link type="text/css" rel="stylesheet" href="{site.Dir}_libs/jquery.formvalidator/style.css" />
<script src="{site.Dir}_libs/jquery.formvalidator.js" type="text/javascript"></script>

<link href="{site.Dir}user/otherfiles/css/findpass2.css" type="text/css" rel="stylesheet" />
<style>
UL.region_list LI A.selected,
UL.region_list LI A:hover {background-color: #005EAC;color: #fff;}
</style>
<script type="text/javascript">
(function(){
	$(document).ready(function(){
		$('#resetPwdForm').ajaxForm({
			beforeSubmit: JumbotCms.AjaxFormSubmit,
			success :function(data){
				JumbotCms.Eval(data);
			}
		}); 
		$.formValidator.initConfig({onError:function(msg){}});
		$("#txtEmail")
			.formValidator({tipid:"tipEmail",onshow:"请输入注册时的邮箱",onfocus:"邮箱至少8个字符,最多50个字符",oncorrect:""})
			.InputValidator({min:8,max:50,onerror:"你输入的邮箱非法,请确认"})
			.RegexValidator({regexp:"email",datatype:"enum",onerror:"格式不正确"});
		$("#txtUserName")
			.formValidator({tipid:"tipUserName",onshow:"输入注册时的用户名",onfocus:"用户名至少4个字符,最多20个字符",oncorrect:""})
			.InputValidator({min:4,max:20,onerror:"你输入的用户名非法,请确认"})
			.RegexValidator({regexp:"username",datatype:"enum",onerror:"汉字或字母开头,不支持符号"});
	});
	//Form验证
	JumbotCms.AjaxFormSubmit=function(item){
		try{
			if(jQuery.formValidator.PageIsValid('1'))
			{
				JumbotCms.Loading.show("正在处理，请稍等...");
				return true;
			}else{
				return false;
			}
		}catch(e){
			return false;
		}
	};
})();
</script>
</head>
<body>
<!--顶部-->
<div id="header">
	<div class="h_lt"><a href="{site.Dir}"><img src="{site.Dir}_data/style/logo.jpg" /></a></div>
	<div class="h_rt">
		<div class="userbar"><a href="{site.RegisterUrl}">注册</a> | <a href="{site.LoginUrl}">登录</a> | <a href="{site.Dir}">首页</a> </div>
	</div>
	<div class="clear"></div>
</div>
<!--顶部-->
<!--中间-->
<div id="center">
	<!--中左-->
	<div class="c_lt">
		<div class="tt">请输入注册时的用户名和邮箱<font color="#FF0000">（必填）</font></div>
		<div class="content">
			<form id="resetPwdForm" name="form1" method="post" action="?act=reset">
			<div>
				<label for="username"> 用 户 名：</label>
				<input id="txtUserName" maxLength=32 name="txtUserName" class="input" >
				<div class="ValidatorTip" id="tipUserName" style="width:200px"></div>
			</div>
			<div class="clear"></div>
			<div>
				<label for="email"> 电子邮箱：</label>
				<input id="txtEmail" maxLength=32 name="txtEmail" class="input" >
				<div class="ValidatorTip" id="tipEmail" style="width:200px"></div>
			</div>
			<div class="clear"></div>
			<div>
				<input type="submit" value="" name=submit class="tj">
			</div>
			</form>
		</div>
		<div class="ft"></div>
	</div>
	<!--中左-->
	<!--中右-->
	<div class="c_rt"> </div>
	<!--中右-->
	<div class="clear"></div>
</div>
<!--中间-->
<!--底部-->
<div id="foot">
	<div class="cop">
		<script type="text/javascript" src="{site.Dir}_data/style/j_copyright.js"></script>
		<script type="text/javascript" src="{site.Dir}_data/style/count.js"></script>
	</div>
	<div class="clear"></div>
</div>
</body>
</html>
